﻿using B.S.Packaged.Domain;
using B.S.Packaged.ErrorCode;
using MediatR;

namespace B.S.Packaged.WebAPI.Read.Application.Command.PackagingQualityCommand
{
    public class GetPackagingQualityCommand : IRequest<APIResult<APIPaging<PackagingQuality>>>
    {
        public int pageindex { get; set; }
        public int pageSize { get; set; }
        /// <summary>
        /// 啤酒生产批次号。
        /// </summary>
        public string? batchNumber { get; set; }
        /// <summary>
        /// 啤酒的生产日期
        /// </summary>
        public DateTime? productionDate { get; set; }
        /// <summary>
        ///包装类型（如瓶装、罐装等）
        /// </summary>
        public string? packagingType { get; set; }
        /// <summary>
        ///标签质量，分为好、一般、差
        /// </summary>
        public string? labelQuality { get; set; }
        /// <summary>
        /// 瓶盖密封情况，有密封、松动、泄漏三种状态。
        /// </summary>
        public string? capSealing { get; set; }
        /// <summary>
        /// 瓶子状况，有完好、破裂、有划痕三种状态
        /// </summary>
        public string? bottleCondition { get; set; }
        /// <summary>
        ///啤酒的灌装液位。
        /// </summary>
        public string? fillLevel { get; set; }
        /// <summary>
        ///包装材料柔韧性
        /// </summary>
        public string? Flexibility { get; set; }
        /// <summary>
        ///包装材料耐水性
        /// </summary>
        public string? WaterResistance { get; set; }
        /// <summary>
        ///包装材料透气性
        /// </summary>  
        public string? Breathability { get; set; }
        /// <summary>
        ///包装表面平整度
        /// </summary>
        public string? SurfaceFlatness { get; set; }
        /// <summary>
        ///包装颜色一致性
        /// </summary>
        public string? ColorConsistency { get; set; }
        /// <summary>
        ///质检日期，默认为当前时间。
        /// </summary>
        public DateTime? inspectionDate { get; set; }
        /// <summary>
        ///质检人员姓名。
        /// </summary>
        public string? inspectorName { get; set; }
        /// <summary>
        /// 质检结果，分为合格和不合格。
        /// </summary>
        public bool? inspectionResult { get; set; }
    }
}
